package com.shopowner.mapper;

import com.shopowner.entity.Store;
import com.shopowner.entity.StoreExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface StoreMapper {
    long countByExample(StoreExample example);

    int deleteByExample(StoreExample example);

    int deleteByPrimaryKey(String stno);

    int insert(Store record);

    int insertSelective(Store record);

    String getMaxStno();

    List<Store> getStoreByPage(Map map);

    Store selectStoreWithCoach(String stno);

    Store selectStoreWithShopowner(String stno);

    List<Store> selectByExample(StoreExample example);

    Store selectByPrimaryKey(String stno);

    int updateByExampleSelective(@Param("record") Store record, @Param("example") StoreExample example);

    int updateByExample(@Param("record") Store record, @Param("example") StoreExample example);

    int updateByPrimaryKeySelective(Store record);

    int updateByPrimaryKey(Store record);
}